package cn.hfatec.shms.system.register.dao;

import java.util.List;

import cn.hfatec.shms.system.register.model.Register;
import cn.hfatec.mybatis.mapper.SqlMapper;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.system.register.model.RegisterParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("RegisterDao")
public interface RegisterDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List queryRegister(@Param("params") RegisterParams params);

    /**
     *
     * 根据主键获取数据
     *
     */
    public Register getRegisterById(Integer id);

    /**
     *
     * 插入数据
     *
     */
    public void insert(Register register);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);

    /**
     *
     * 更新数据
     *
     */
    public void update(Register register);
}
